function faceAge() {
	var url = "/wechat/aliyun/faceAge";
	var faceImg = $("#doc").val();
	if (faceImg == "") {
		alert("还没选择照片");
		return false;
	} else {
		$("#xiangmu").ajaxSubmit({
			url : url,
			type : 'POST',
			success : function(data, status) {
				var status = status;
				if (status.toString() == "success") {
					alert("成功");
				} else {
					alert("222");
				}
			},
			error : function() {
				alert("失败")
			}
		});
		return false;
	}
};

/*function faceAge1() {  
    var formData = new FormData($( "#uploadForm" )[0]);  
    $.ajax({  
         url: "/wechat/user/faceAge",  
         type: 'POST',  
         data: formData,  
         async: false,  
         cache: false,  
         contentType: false,  
         processData: false,  
         success: function (returndata) {  
             alert(returndata);  
         },  
         error: function (returndata) {  
             alert(returndata);  
         }  
    });  
}  */
